package cn.hackcloud.designpattern.builder;

public class HouseDirector {
	private HouseBuilder builder;

	public HouseDirector(HouseBuilder builder) {
		this.builder = builder;
	}

	public House constructHouse() {
		builder.buildBasic();
		builder.buildWall();
		builder.buildRoofed();
		return builder.build();
	}
}
